<template>
  <div>
    <footer>
      <ul>
        <router-link to="/film" tag="li">
          <i class="iconfont icon-dianying"></i>
          <span>电影</span>
        </router-link>
        <router-link to="/cinema" tag="li">
          <i class="iconfont icon-yingyuan"></i>
          <span>影院</span>
        </router-link>
        <router-link to="/center" tag="li">
          <i class="iconfont icon-wode"></i>
          <span>我的</span>
        </router-link>
      </ul>
    </footer>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46px;
  line-height: 23px;
  text-align: center;
  z-index: 100;
  background-color: #fff;
  ul {
    display: flex;
    li {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      color: #797d82;
      i {
        font-size: 20px;
      }
      span {
        font-size: 13px;
      }
    }
  }
}

.router-link-active {
  color: red;
}
</style>
